Fixed dashed line issues (#74441) to an IMO reasonable extend. That is:
authorHans Breuer <hans@breuer.org>
Thu, 28 Mar 2002 23:25:33 +0000 (23:25 +0000)
committerHans Breuer <hans@src.gnome.org>
Thu, 28 Mar 2002 23:25:33 +0000 (23:25 +0000)
commitfe60d43a26380580e54ddec62a3746253f07cc0d
treee2ff5ec60bd4a03be979c23d174ee6cfdc456898
parentdf10ebad76fe2e105eb1bca9f8ac29b85b0cfb60
Fixed dashed line issues (#74441) to an IMO reasonable extend. That is:

2002-03-29  Hans Breuer  <hans@breuer.org>

Fixed dashed line issues (#74441) to an IMO reasonable extend.
That is: use PS_USERSTYLE on WinNT (the next GDI limit appears
to be with lines width > 50); Render horizontal and vertical
dashed lines on Win9x 'by hand'. Dotted selection rectangles
and Dia look nice ...

* gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and
num_pen_dashes to _GdkGCWin32
* gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove
the guesses from dashes to windoze line styles.
(predraw_set_forground) : always ExtCreatePen (PS_SOLID) on
Win9x, which does not support PS_USERSTYLE.
* gdk/win32/gdkdrawable-win32.c : new functions render_line_
<horizontal|vertical>. Use them if not running on NT in
gdk_win32_draw_<rectangle|segments|lines> ()

* gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL
for keyval == 0 to avoid to have zeros in all menu entries
without accelerator.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/win32/gdkdrawable-win32.c
gdk/win32/gdkgc-win32.c
gdk/win32/gdkkeys-win32.c
gdk/win32/gdkprivate-win32.h